package com.mnkr.bean;

import java.io.Serializable;

public class Car implements Serializable, Cloneable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private String model;
	private int year;
	private String color; 
	private String manufacturer;
	
	
	
	
	public Car(){
		
	}
	
	public Car(String model, int year, String manufacturer, String color) {
		super();
		this.model = model;
		this.year = year;
		this.color = color;
		this.manufacturer = manufacturer;
	}
	
	public Car clone()   {
		Car clon = new Car(this.model,this.year,this.manufacturer,this.color);
		return clon;
	}
	

	public String getModel() {
		return model;
	}
	public void setModel(String model) {
		this.model = model;
	}
	public int getYear() {
		return year;
	}
	public void setYear(int year) {
		this.year = year;
	}
	public String getColor() {
		return color;
	}
	public void setColor(String color) {
		this.color = color;
	}
	public String getManufacturer() {
		return manufacturer;
	}
	public void setManufacturer(String manufacturer) {
		this.manufacturer = manufacturer;
	}
	public static long getSerialversionuid() {
		return serialVersionUID;
	} 
	
	
	
	
}
